package Box2D.Dynamics.Joints
{
	import Box2D.Common.Math.b2Vec2;

	public class b2FrictionJointDef extends b2JointDef
	{
		private var _localAnchorA:b2Vec2;
		private var _localAnchorB:b2Vec2;		
		public function b2FrictionJointDef()
		{
			super(callDirect('b2FrictionJointDef_new'));
			_localAnchorA = new b2Vec2(0,0,_wrapper+17);
			_localAnchorB = new b2Vec2(0,0,_wrapper+25);
		}
		public override function get cls():Class{return b2FrictionJoint}
		
		public function get localAnchorA():b2Vec2{return _localAnchorA}
		public function set localAnchorA(value:b2Vec2):void{_localAnchorA.Copy(value)}
		
		public function get localAnchorB():b2Vec2{return _localAnchorB}
		public function set localAnchorB(value:b2Vec2):void{_localAnchorB.Copy(value)}
		
		public function set maxForce(value:Number):void{setNumber(33,value)}
		
		public function set maxTorque(value:Number):void{setNumber(37,value)}
	}
}